package com.atguigu.mapper;

import com.atguigu.base.BaseMapper;
import com.atguigu.entity.UserFollow;
import com.atguigu.entity.vo.UserFollowVo;
import com.github.pagehelper.Page;
import org.apache.ibatis.annotations.Param;

public interface UserFollowMapper extends BaseMapper<UserFollow> {



    void deleteByUserIdAndHouseId(@Param("userId")Long userInfoId,@Param("houseId") Long houseId);

    Page<UserFollowVo> findListPage(@Param("userId")Long userId);

    void deleteByKey(Long id);

    UserFollow getByUserIdAndHouseId(Long userInfoId, Long houseId);
}
